package com.etc.pojo;

import org.springframework.stereotype.Component;

@Component
public class CommentGroup {

    Comment comment;
    Comment replyComment;

    public Comment getComment() {
        return comment;
    }

    public void setComment(Comment comment) {
        this.comment = comment;
    }

    public Comment getReplyComment() {
        return replyComment;
    }

    public void setReplyComment(Comment replyComment) {
        this.replyComment = replyComment;
    }

    public CommentGroup() {
    }

    public CommentGroup(Comment comment, Comment replyComment) {
        this.comment = comment;
        this.replyComment = replyComment;
    }

    @Override
    public String toString() {
        return "CommentGroup{" +
                "comment=" + comment +
                ", replyComment=" + replyComment +
                '}';
    }
}
